package com.loong;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import tk.mybatis.spring.annotation.MapperScan;


@EnableAsync(proxyTargetClass = true)
@EnableDiscoveryClient
@MapperScan(value = {"com.loong.order.mapper","com.loong.coupon.mapper"})
@DubboComponentScan("com.loong.order.service")
@EnableFeignClients
@SpringBootApplication(scanBasePackages = {"com.loong.common", "com.loong.order","com.loong.coupon"})
public class OrderAndCouponApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderAndCouponApplication.class,args);
    }
}
